SRFM\Inc\Form_Submit D

Total Complexity 165
Dependencies 9
Dependents 1
Total lines 958
Lines of code 631
Logical lines of code 334
Comment lines 183
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
handle_form_submission()
D
18
71 204
handle_form_entry()
C
29 23 130
send_email()
A
39 10 72
field_unique_validation()
A
44 12 42
prepare_submission_data()
A
50 10 26
add_from_data_in_header()
S
58 8 12
parse_email_notification_template()
S
52 7 21
validate_turnstile_token()
S
49 5 33
validate_hcaptcha_token()
S
49 5 33
srfm_global_sidebar_enabled()
S
59 5 14
srfm_global_update_allowed_block()
S
59 4 14
permissions_check()
S
69 2 6
register_custom_endpoint()
S
64 1 11
__construct()
S
68 1 7
change_upload_dir()
S
70 1 6